package com.coursehub.course.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import jakarta.validation.constraints.Size;

/**
 * 课程更新DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CourseUpdateDto {
    
    @Size(max = 100, message = "课程名称长度不能超过100个字符")
    private String courseName;
    
    @Size(max = 1000, message = "课程描述长度不能超过1000个字符")
    private String course;
    
    @Size(max = 200, message = "教学目标长度不能超过200个字符")
    private String teachingGoal;
    
    @Size(max = 100, message = "考核方式长度不能超过100个字符")
    private String examinationMethod;
}